package com.cosmoplat.xikai.business.job;

import com.cosmoplat.xikai.business.service.BaseMaterialService;
import com.cosmoplat.xikai.business.service.BaseSafetyStockService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @ClassName InitMaterialDataTask
 * @Description 初始化物料数据
 * @Version 1.0.0
 * @Author wdf
 * @Date 2025/1/15 15:08
 */
@Slf4j
@Component("initData")
public class InitMaterialDataTask
{
    @Autowired
    private BaseMaterialService materialService;


    public void materialData()
    {
        log.info("初始化物料数据开始");
        materialService.initMesData();
        log.info("初始化物料数据结束");
    }
}
